//
//  TNetManager.swift
//  MyTest
//
//  Created by guanzhongwang on 2021/5/14.
//

import Foundation
import Alamofire
class TNetManager {
    static var defaultManager : TNetManager?
//    class func shareManager(timeOut:TimeInterval = 60)->TNetManager{
//        let config = NetConfig.default
//        config.timeoutIntervalForRequest = timeOut
//
//    }
    private init() {
        
    }
}
//
class NetConfig:URLSessionConfiguration {
    private static let defaultConfig = NetConfig()
    private override init() {
        
    }
    override class var `default`: URLSessionConfiguration{
        return self.defaultConfig
    }
}
